from django.contrib import admin

from zanhu02.articles.models import Articles
from markdownx.admin import MarkdownxModelAdmin

# Register your models here.
class ArticlesAdmin(admin.ModelAdmin):
    # content = MarkdownxModelAdmin()
    list_display = ['title','user','status','edited']
    fields = ['title','user','images','status','content','edited','tags']

admin.site.register(Articles,ArticlesAdmin)

